package com.naiterui.ehp.bp.support.controller;

import com.naiterui.ehp.bp.support.advice.IgnoreResponseEntityWrap;
import com.naiterui.ehp.bp.support.utils.SysConfigUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 运维设置
 *
 * @author 王泽浩
 * @date 2018/6/2 下午3:28
 * @since 1.0.0
 */
@ApiIgnore
@RestController
public class BaseOpsController {

  @GetMapping("/")
  @IgnoreResponseEntityWrap
  public String index() {
    return "<H1>Hello world : " + SysConfigUtil.getServerPrefix() + "!</H1>";
  }

}
